home *** CD-ROM | disk | FTP | other *** search
- ;
- ;Simple test programme
- ;
- R0 EQU 0
- R1 EQU 1
- R2 EQU 2
- SP EQU 10
- ;
- DXOP PUSH,3 ;define xop's
- DXOP POP,4
- DXOP CALL,5
- DXOP RET,6
- ;
- AORG 100H
- ;
- START LWPI SYSWP
- BLSK SP,SUBR ;for tms99105A
- CALL @SUBR ;for tms9900
- LI R1,2
- TCMB @BITMAP(R1),12 ;test and clear 12 bit in bitmap
- ;indexed with - for tms99105
- MOV @BITMAP,R2
- JMP START
- ;
- SUBR NOP
- RET ;if tms9900
- BIND *SP+ ;if tm99105
- ;
- BITMAP WORD 0011110110101010B
- WORD 1111111111000000B
- SYSWP BSS 32
- END